package com.shark.uh.model.dto.user;

import com.shark.uh.annotation.EnumCheck;
import com.shark.uh.enums.RegisterMethod;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserCreateDTO {
    @EnumCheck(enumClass = RegisterMethod.class)
    private String type;
    /**
     * phone, email, username.
     */
    private String payload;
    private String password;
    private String confirmPassword;
    private String code;
}
